class InventoryQueryMaterialEntity {
  dynamic baseunitname;
  String orderdetailid;
  dynamic supplierid;
  dynamic biddingbatchid;
  String materialname;
  String orderid;
  bool isseq;
  String materialid;
  dynamic baseuintid;
  dynamic spec;
  bool isbatch;
  bool isrfid;
  bool issn;
  dynamic warehouseid;
  dynamic imageurl;
  dynamic unitchangeid;
  dynamic customerid;
  String materialcode;
  dynamic model;
  dynamic projectid;
  dynamic batchno;

  InventoryQueryMaterialEntity(
      {this.baseunitname,
      this.orderdetailid,
      this.supplierid,
      this.biddingbatchid,
      this.materialname,
      this.orderid,
      this.isseq,
      this.materialid,
      this.baseuintid,
      this.spec,
      this.isbatch,
      this.isrfid,
      this.issn,
      this.warehouseid,
      this.imageurl,
      this.unitchangeid,
      this.customerid,
      this.materialcode,
      this.model,
      this.projectid,
      this.batchno});

  InventoryQueryMaterialEntity.fromJson(Map<String, dynamic> json) {
    baseunitname = json['baseunitname'];
    orderdetailid = json['orderdetailid'];
    supplierid = json['supplierid'];
    biddingbatchid = json['biddingbatchid'];
    materialname = json['materialname'];
    orderid = json['orderid'];
    isseq = json['isseq'];
    materialid = json['materialid'];
    baseuintid = json['baseuintid'];
    spec = json['spec'];
    isbatch = json['isbatch'];
    isrfid = json['isrfid'];
    issn = json['issn'];
    warehouseid = json['warehouseid'];
    imageurl = json['imageurl'];
    unitchangeid = json['unitchangeid'];
    customerid = json['customerid'];
    materialcode = json['materialcode'];
    model = json['model'];
    projectid = json['projectid'];
    batchno = json['batchno'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['baseunitname'] = this.baseunitname;
    data['orderdetailid'] = this.orderdetailid;
    data['supplierid'] = this.supplierid;
    data['biddingbatchid'] = this.biddingbatchid;
    data['materialname'] = this.materialname;
    data['orderid'] = this.orderid;
    data['isseq'] = this.isseq;
    data['materialid'] = this.materialid;
    data['baseuintid'] = this.baseuintid;
    data['spec'] = this.spec;
    data['isbatch'] = this.isbatch;
    data['isrfid'] = this.isrfid;
    data['issn'] = this.issn;
    data['warehouseid'] = this.warehouseid;
    data['imageurl'] = this.imageurl;
    data['unitchangeid'] = this.unitchangeid;
    data['customerid'] = this.customerid;
    data['materialcode'] = this.materialcode;
    data['model'] = this.model;
    data['projectid'] = this.projectid;
    data['batchno'] = this.batchno;
    return data;
  }
}
